package com.yilin.platform.base_core.tools.cmbc.entity.reconciliationOnline;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/*. 已填写调节表查询(QryDebtReChkDetail)*/
@XmlRootElement(name ="xDataBody" )
public class QryDebtReChkDetail  {
    private  String acName;//账号名称
    private  String acNo;//银行账号 32
    private  String deptName;//开户机构
    private  String currency;//币种
    private  String bankDepositBal;//银行存款余额(1)
    private  String compCreditTtl;//单位借方发生额合计(3)
    private  String compDebitTtl;//单位贷方发生额合计(4) 13,2
    private  String compReBal;//单位调解后余额(1)+(3)-(4)
    private  String compBankDepositBal;//单位银行存款余额(2)
    private  String bankCreditTtl;//单位银行借方发生额合计
    private  String bankDebitTtl;//单位银行贷方发生额合计
    private  String bankReBal;//单位银行调解后余额(2)-(5)+(6)
    private  String isAccord;//调节后结果0:相符 1：不相符
    private  String diffBal;//不相符相差金额
    private  String reasonType;//不相符原因
    private List<CompList> compListList;//单位已记账，银行未记账
    private  List<BankList> bankListList;//银行已记账，单位未记账

    public void setAcName(String acName) {
        this.acName = acName;
    }

    public void setAcNo(String acNo) {
        this.acNo = acNo;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public void setBankDepositBal(String bankDepositBal) {
        this.bankDepositBal = bankDepositBal;
    }

    public void setCompCreditTtl(String compCreditTtl) {
        this.compCreditTtl = compCreditTtl;
    }

    public void setCompDebitTtl(String compDebitTtl) {
        this.compDebitTtl = compDebitTtl;
    }

    public void setCompReBal(String compReBal) {
        this.compReBal = compReBal;
    }

    public void setCompBankDepositBal(String compBankDepositBal) {
        this.compBankDepositBal = compBankDepositBal;
    }

    public void setBankCreditTtl(String bankCreditTtl) {
        this.bankCreditTtl = bankCreditTtl;
    }

    public void setBankDebitTtl(String bankDebitTtl) {
        this.bankDebitTtl = bankDebitTtl;
    }

    public void setBankReBal(String bankReBal) {
        this.bankReBal = bankReBal;
    }

    public void setIsAccord(String isAccord) {
        if(isAccord.equals("0")){
            this.isAccord = "相符";
        }else if(isAccord.equals("1")){
            this.isAccord = "不相符";
        }else{
            this.isAccord = isAccord;
        }
    }

    public void setDiffBal(String diffBal) {
        this.diffBal = diffBal;
    }

    public void setReasonType(String reasonType) {
        this.reasonType = reasonType;
    }
    @XmlElementWrapper(name = "CompList")
    @XmlElement(name = "Map")
    public void setCompListList(List<CompList> compListList) {
        this.compListList = compListList;
    }
    @XmlElementWrapper(name = "BankList")
    @XmlElement(name = "Map")
    public void setBankListList(List<BankList> bankListList) {
        this.bankListList = bankListList;
    }

    public String getAcName() {
        return acName;
    }

    public String getAcNo() {
        return acNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public String getCurrency() {
        return currency;
    }

    public String getBankDepositBal() {
        return bankDepositBal;
    }

    public String getCompCreditTtl() {
        return compCreditTtl;
    }

    public String getCompDebitTtl() {
        return compDebitTtl;
    }

    public String getCompReBal() {
        return compReBal;
    }

    public String getCompBankDepositBal() {
        return compBankDepositBal;
    }

    public String getBankCreditTtl() {
        return bankCreditTtl;
    }

    public String getBankDebitTtl() {
        return bankDebitTtl;
    }

    public String getBankReBal() {
        return bankReBal;
    }

    public String getIsAccord() {
        return isAccord;
    }

    public String getDiffBal() {
        return diffBal;
    }

    public String getReasonType() {
        return reasonType;
    }

    public List<CompList> getCompListList() {
        return compListList;
    }

    public List<BankList> getBankListList() {
        return bankListList;
    }
}
class CompList{
    private  String compDate;//交易日期
    private  String compCreditAmt;//借方发生额
    private  String compDebitAmt;//贷方发生额 13,
    private  String compremark;//备注

    public String getCompDate() {
        return compDate;
    }

    public void setCompDate(String compDate) {
        this.compDate = compDate;
    }

    public String getCompCreditAmt() {
        return compCreditAmt;
    }

    public void setCompCreditAmt(String compCreditAmt) {
        this.compCreditAmt = compCreditAmt;
    }

    public String getCompDebitAmt() {
        return compDebitAmt;
    }

    public void setCompDebitAmt(String compDebitAmt) {
        this.compDebitAmt = compDebitAmt;
    }

    public String getCompremark() {
        return compremark;
    }

    public void setCompremark(String compremark) {
        this.compremark = compremark;
    }
}
class BankList{
    private  String bankDate;//交易日期
    private  String bankCreditAmt;//借方发生额
    private  String bankDebitAmt;//贷方发生额 13,
    private  String bankpremark;//备注

    public String getBankDate() {
        return bankDate;
    }

    public void setBankDate(String bankDate) {
        this.bankDate = bankDate;
    }

    public String getBankCreditAmt() {
        return bankCreditAmt;
    }

    public void setBankCreditAmt(String bankCreditAmt) {
        this.bankCreditAmt = bankCreditAmt;
    }

    public String getBankDebitAmt() {
        return bankDebitAmt;
    }

    public void setBankDebitAmt(String bankDebitAmt) {
        this.bankDebitAmt = bankDebitAmt;
    }

    public String getBankpremark() {
        return bankpremark;
    }

    public void setBankpremark(String bankpremark) {
        this.bankpremark = bankpremark;
    }
}
